package com.chapter.sample.handlers;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;


public class HaohaoNamespaceHandler extends NamespaceHandlerSupport {
    public HaohaoNamespaceHandler() {
    }

    @Override
    public void init() {
        //注册标签解析器
        this.registerBeanDefinitionParser("annotation-driven", new HaohaoBeanDefinitionParser());
    }
}
